<div class="toolbar">
	<h1>历史订单</h1>
	<a class="button back" onclick="app.loadPageSildeRight('pages/setting.html');">返回</a>
</div>
<div class="content table_basic">
	<table class="bordered" >
		<thead>
			<tr>
				<th>桌</th>
				<th>总价</th>
				<th>时间</th>
				<th>状态</th>
			</tr>
		</thead>
		<tbody id ="bill_history_table_id">
		{#foreach $T as Item}
		<tr onclick="billHistory.showDetail({$T.Item.id});">
			<td>{$T.Item.tableName==null ?'':$T.Item.tableName}</td>
			<td>{$T.Item.totalPrice}</td>
			<td>{new Date($T.Item.sendTime).format("yyyy-MM-dd hh:mm:ss")}</td>
			<td>{$T.Item.status==1 ?'成功':'失败'}</td>
		</tr>
		{#/for}
		</tbody>
	</table>
	<div style="text-align: center">
		<a href="javascript:billHistory.readMore();" class="button-green" style="width: 270px">更多</a>
	</div>
</div>